<div class="center-width padding-15">
	
	<div class="alert hide" id="message">
		
	</div>
	<form class="form-horizontal">
		<?php echo $form; ?>
		
		<hr class="clear">
		<div class="control-group">
			<div class="controls">			  
				<?php if(isset($single)): ?>	
					<input type="hidden" class="postvar" name="intID" id="intID" value="<?php echo $single['intID']; ?>">
					<button type="button" class="btn" id="update-table">Update</button>
				<?php else: ?>
					<button type="button" class="btn" id="update-table">Add</button>
				<?php endif; ?>
					<a href="<?php echo base_url().'admin/view_list/'.$table ?>" class="btn">Cancel</a>
			</div>
		 </div>
	</form>
		
	<div class="modal hide fade" id="remove-image">
	  <div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		<h3>Delete Announcement</h3>
	  </div>
	  <div class="modal-body">
		<p>Are you sure you want to remove image?</p>
	  </div>
	  <div class="modal-footer">
		<a href="#" class="btn" data-dismiss="modal">Cancel</a>
		<a href="#" class="btn btn-primary remove-image" rel="">Remove</a>
	  </div>
	</div>
</div>